<template>
  <div class="shengmu1 base-background-img">
    <div class="ai" @click="playFun(ai)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/1/ai.png">
    </div>
    <div class="ei" @click="playFun(ei)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/1/ei.png">
    </div>
    <div class="ui" @click="playFun(ui)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/1/ui.png">
    </div>
    <c-pdf @closePdf="closePdf" v-if="isshowpdf" :info="info" :infourl="pdfurl"></c-pdf>
  </div>
</template>

<script>
  export default {
    name: 'fuyunmu1',
    data () {
      return {
        isshowpdf: false,
        infourl: '',
        info: '',
        ai: {
          url: 'static/youxiao/pdf/fuyunmu/ai.pdf',
          data: []
        },
        ei: {
          url: 'static/youxiao/pdf/fuyunmu/ei.pdf',
          data: []
        },
        ui: {
          url: 'static/youxiao/pdf/fuyunmu/ui.pdf',
          data: []
        }
      }
    },
    methods: {
      playFun: function (item) {
        console.log(item)
        this.isshowpdf = true
        this.pdfurl = item.url
        this.info = item.data
      },
      closePdf: function () {
        this.isshowpdf = false
      }
    }
  }
</script>

<style scoped>
.shengmu1 {
  background: url(~@/assets/youxiaoxianjie/fuyunmu/1/bg.png);
}
.shengmu1 > div {
  position: absolute; 
}
.ai {
  top: 270px;
  left: 230px;
}
.ei {
  top: 280px;
  left: 535px;
}
.ui {
  top: 275px;
  left: 847px;
}
</style>
